<div class="uc_r_bl">
	<div class="inc_main">
		<div class="list_title clearfix">
			<div {if $ACTION_NAME eq 'index'}class="cur"{/if}>
				<a href="{url x="index" r="uc_money#index"}">{$LANG.UC_LOGS}</a>
			</div>
			<div {if $ACTION_NAME eq 'incharge'}class="cur"{/if}>
				<a href="{url x="index" r="uc_money#incharge"}">{$LANG.UC_MONEY_INCHARGE}</a>
			</div>
			<div {if $ACTION_NAME eq 'incharge_log'}class="cur"{/if}>
				<a href="{url x="index" r="uc_money#incharge_log"}">{$LANG.UC_MONEY_INCHARGE_LOG}</a>
			</div>
			<div {if $ACTION_NAME eq 'carry'}class="cur"{/if}>
				<a href="{url x="index" value="uc_money#carry"}">{$LANG.UC_CARRY}</a>
			</div>
			<div {if $ACTION_NAME eq 'carry_log'}class="cur"{/if}>
				<a href="{url x="index" value="uc_money#carry_log"}">提现日志</a>
			</div>
		</div>
		<div class="uc_r_bl_box clearfix">
				<table border="0" cellspacing="1" class="oval_table">
					<tbody>
						<tr style="background:#00bef0; color:#fff; height:40px;">
							<th width="33%">资金余额</th>
							<th width="33%">可用资金</th>
							<th width="33%">冻结资金</th>
						</tr>
						<tr style="height:35px; background:#fff">
							<td>
								<?php echo format_price($this->_var['user_info']['money'] + $this->_var['user_info']['lock_money']); ?>
							</td>
							<td>
							    {function name="format_price" v=$user_info.money}
							</td>
							<td>
							    {function name="format_price" v=$user_info.lock_money}
							</td>
						</tr>
					</tbody>
				</table>
			<div class="sub_nav">
				<span {if $t eq ''}class="act"{/if}><a href="{url x="index" r="uc_money#index"}">全部</a></span>
				<span {if $t eq 'money'}class="act"{/if}><a href="{url x="index" r="uc_money#index" p="t=money"}">资金</a></span>
				<?php /*<span {if $t eq 'score'}class="act"{/if}><a href="{url x="index" r="uc_money#index" p="t=score"}">积分</a></span>*/?>
				<span {if $t eq 'point'}class="act"{/if}><a href="{url x="index" r="uc_money#index" p="t=point"}">信用</a></span>
				
			</div>
			<div class="blank1"></div>
			<div class="uc-table">
			<table border="0" cellspacing="1" class="oval_table">
				<tbody>
					<tr style="background:#00bef0; color:#fff; height:40px;">
						<th style="width:17%">{$LANG.EVENT}</th>
						{if $t eq '' or $t eq 'money'}<th style="width:17%">{$LANG.PRICE_AMOUNT}</th>{/if}
						<?php /*{if $t eq '' or $t eq 'score'}<th width="80">{$LANG.SCORE}</th>{/if}*/?>
						{if $t eq '' or $t eq 'point'}<th style="width:17%">信用</th>{/if}
						{if $t eq '' or $t eq 'quota'}<th style="width:17%">额度</th>{/if}
						{if $t eq '' or $t eq 'lock_money'}<th style="width:17%">冻结/提现</th>{/if}
						<th style="width:15%">{$LANG.CREATE_TIME}</th>
					</tr>
					{foreach from=$list item=log key=key}
					<tr style="height:35px; background:#fff">
						<td style="text-align:left; padding-left:8px;">{$log.log_info}</td>
						{if $t eq '' or $t eq 'money'}<td>{function name="format_price" value=$log.money}</td>{/if}
						<!--{if $t eq '' or $t eq 'score'}<td>{function name="format_score" value=$log.score}</td>{/if}-->
						{if $t eq '' or $t eq 'point'}<td>{$log.point}</td>{/if}
						{if $t eq '' or $t eq 'quota'}<td>{$log.quota}</td>{/if}
						{if $t eq '' or $t eq 'lock_money'}<td>{function name="format_price" value=$log.lock_money}</td>{/if}
						<td><?php echo to_date($this->_var['log']['log_time'],"Y-m-d H:i"); ?></td>
					</tr>
					{/foreach}
				</tbody>
			</table>
			<div class="pages">{$pages}</div>
			</div>				
		</div>		
	</div>
	<div class="inc_foot"></div>
</div>
